<?php
/*
Template Name: List
*/
?>
<?php get_header(); ?>
	<?php get_sidebar(); ?>
	<div id="main_content">
		<div id="content_main_top">
			<h2 id="tree_content">Business >> Accounting >> Financial Accounting</h2>
			<p id="sell_your_book">Sell Your Book</p>
		</div>
		<div id="all_listings">
			<?php
				global $wpdb;
				$myrows = $wpdb->get_results( "SELECT * FROM colleges" );
				foreach($myrows as $row){
					echo $row->name;
				}
			?>
		</div>
		<div class="navigation">
			<?php edit_post_link('Edit this entry.', '<p>', '</p>'); ?>
		</div>
	</div>

<?php get_footer(); ?>